﻿using System;
using System.IO;
using System.Text;
namespace ShootSearch.FileSystem
{
    public interface IFileObject
    {
        bool Deleted { get; set; }
        DateTime DateTime { get; set; }
        Encoding Encoding { get; set; }
        string Url { get; set; }
        string ContentType { get; set; }
        byte[] Content { get; set; }

        void Read(Stream stream);
        void Write(Stream stream);
        byte[] ToBytes();
        void FromBytes(byte[] bytes);
    }
}
